package com.tushare.service;

import com.tushare.entity.Daily;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author jobob
 * @since 2021-03-08
 */
public interface IDailyService extends IService<Daily> {

    Daily getLastDaily();

    List<Daily> getDailyListByTsCode(String ts_code, int trade_date);

    Daily getLastDailyByTsCode(String ts_code);

    boolean saveDailies(List<Daily> list);

    boolean deleteAllDaily();

}
